 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib prefix="pm" uri="http://heroj.cn/permissionTag"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<head>
<title>ReportInventoryAnalyze</title>
 <script src="${cdnAddress}/js/boot.js${cacheVersion}" type="text/javascript"></script>
 <script src="${cdnAddress}/js/util.js${cacheVersion}" type="text/javascript"></script>
 <link href="${cdnAddress}/css/util.css${cacheVersion}" rel="stylesheet" type="text/css" />
</head>
<body>
<input type="hidden" id="projectName" value="${projectName}" />
<form id="ReportInventoryAnalyzeListForm" method="post">
 	 <input class="mini-hidden" id="ids" name="ids" value=""/> 	 
  <div>
        <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
        <div id="formseach">
            <table style="width:100%;" class="commonTable">
            <tr class="commonTr">
           	<td>分公司:</td><td><input  class="mini-comboBox"   id="branchOrgId" name="branchOrgId" textField="orgName" valueField="orgId" url="${projectName }/OrgAdmin/queryList?orgType=1" onvaluechanged="onChangeBranch"/></td>
           	 <td>办事处:</td><td><input  class="mini-comboBox"   id="officeOrgId" name="officeOrgId" textField="orgName" valueField="orgId" url="${projectName }/OrgAdmin/queryList?orgType=2"/></td>
           	 <td>业务类型:</td><td><input  class="mini-comboBox"   id="businessType" name="businessType" data="businessTypeData" textField="text" valueField="value"/></td>
           	 </tr>    
			 <tr class="commonTr"><td colspan="6"><a class="mini-button" iconCls="icon-search" onclick="seachRow()">查询</a><a class="mini-button" iconCls="icon-undo" onclick="resetForm()">重置</a></td>
          	  	 </tr>  
          	</table>   
            </div>        
        </div>
    </div>
</form> 
    <div>
     <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
            <table style="width:100%;">
                <tr>
                 	<td style="width:100%;">
                 	 <pm:Permission moduleName="ReportInventoryAnalyze">
                       <!--  <a class="mini-button" id="addReportInventoryAnalyze" iconCls="icon-add" onclick="addReportInventoryAnalyze()">增加</a>
                        <a class="mini-button" id="editReportInventoryAnalyze" iconCls="icon-edit" onclick="editReportInventoryAnalyze()">编辑</a>
                        <a class="mini-button" id="removeReportInventoryAnalyze" iconCls="icon-remove" onclick="removeReportInventoryAnalyze()">删除</a>
                        <a class="mini-button" id="freezeReportInventoryAnalyze" iconCls="icon-lock" onclick="freezeReportInventoryAnalyze()">冻结</a>     
                        <a class="mini-button" id="freeReportInventoryAnalyze" iconCls="icon-unlock" onclick="freeReportInventoryAnalyze()">解冻</a>            
                        <a class="mini-button" id="importReportInventoryAnalyze" iconCls="icon-upload" onclick="importReportInventoryAnalyze()">导入</a>            
                       --> 
                       <a class="mini-button" id="exportReportInventoryAnalyze" iconCls="icon-download" onclick="exportReportInventoryAnalyze()">导出</a>            
                     
                     </pm:Permission>
                    </td>
                     
                </tr>
            </table>           
        </div>
    </div>
   <div class="mini-fit" style="height:100px;">
  <div id="ReportInventoryAnalyzeGrid" class="mini-datagrid" style="width:100%;height:100%;" onrowdblclick="onrowdblclick" 
        url="${projectName}/ReportInventoryAnalyzeAdmin/List"  idField="id"   sizeList="[10,20,30,50]" pageSize="30" multiSelect="true" >
        <div property="columns">
            <div type="checkcolumn"></div> 
            <div field="id" 
           >主键</div>
            <div field="branchOrgId" 
           >分公司ID</div>
            <div field="branchOrgName" 
           >分公司名称</div>
            <div field="officeOrgId" 
           >办事处ID</div>
            <div field="officeOrgName" 
           >办事处名称</div>
            <div field="businessType" 
           >业务类型(1安装量,2维修量,3丢失量,4报废量)</div>
            <div field="calcType" 
           >合计类型(1.店铺数量合计,2设备数量合计)</div>
            <div field="daySum" 
           >日合计</div>
            <div field="weekSum" 
           >周合计</div>
            <div field="monthSum" 
           >月合计</div>
            <div field="yearSum" 
           >年合计</div>
            <div field="udateTime" 
           dateFormat="yyyy-MM-dd HH:mm:ss">报表更新时间</div>
        </div>
    </div> 

    </div>
<script src="${scripts}/reportinventoryanalyze/ReportInventoryAnalyzeList.js${cacheVersion}" type="text/javascript"></script>
</body>

</html>